package pers.wensheng.patterns.structural_pattern.bridge_pattern;

import pers.wensheng.patterns.structural_pattern.bridge_pattern.entity.*;

/**
 *  桥接模式
 */
public class Client {
    public static void main(String[] args) {
        OperatingSystem system = new Mac(new AviFile());
        system.play("只狼视频");

        OperatingSystem operatingSystem = new Windows(new RmvbFile());
        operatingSystem.play("小狼");
    }
}
